**********************************************
** Code to replicate Roach & Sauermann 2023 **
************* December 19, 2022 **************
**********************************************


* Data and code are made available for replication purposes only.  Use of data for research is not permitted.
* Michael Roach (mwroach@illinois.edu) & Henry Sauermann (henry.sauermann@esmt.org)


***********************************
** Predicting startup employment **
***********************************
** Table 3 Column 1
logit startup_empl ability_nrc pre_risk pre_autonomy pre_pay pre_mgmt pre_commercialization visa male married pre_children pre_postdoc ln_vc_funding gdp_rate i.field if table3==1, nolog cluster(university)

** Table 3 Column 2
logit startup_empl ability_nrc pre_risk pre_autonomy pre_pay pre_mgmt pre_commercialization ib3.pre_career_pref visa male married pre_children pre_postdoc ln_vc_funding gdp_rate i.field if table3==1, nolog cluster(university)

** Table 3 Column 3
logit startup_empl ability_nrc ib3.pre_career_pref visa male married pre_children pre_postdoc ln_vc_funding gdp_rate i.field if table3==1, nolog cluster(university)


**************************************************
** Predicting startup job applications & offers **
**************************************************
** Table 5 Column 1
logit startup_job_applied ability_nrc ib3.pre_career_pref visa male married pre_children pre_postdoc ln_vc_funding gdp_rate i.field, cluster(university)

** Table 5 Column 2
logit startup_job_offer ability_nrc ib3.pre_career_pref visa male married pre_children pre_postdoc ln_vc_funding gdp_rate i.field if startup_job_applied==1, cluster(university)

** Table 5 Column 3
logit startup_empl ability_nrc ib3.pre_career_pref visa male married pre_children pre_postdoc ln_vc_funding gdp_rate i.field if startup_job_offer==1, cluster(university)


******************************
** Predicting starting pay **
******************************
** Table 6 Column 2
reg ln_starting_salary startup_empl ability_nrc ib3.pre_career_pref equity_stock male married pre_children pre_postdoc visa ln_vc_funding gdp_rate i.field, cluster(university)

** Table 6 Column 3
reg ln_starting_salary startup_empl ability_nrc ib3.pre_career_pref equity_stock male married pre_children pre_postdoc visa ln_vc_funding gdp_rate i.field if startup_empl==0, cluster(university)

** Table 6 Column 4
reg ln_starting_salary startup_empl ability_nrc ib3.pre_career_pref equity_stock male married pre_children pre_postdoc visa ln_vc_funding gdp_rate i.field if startup_empl==1, cluster(university)

